package com.shelpe.services.algorithm.entity.jpa;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import lombok.Data;

@Entity(name = "adgroups")
@Data
public class Adgroup {

	@Id
	@Column(name = "adgroup_id")
	private long adgroupID;
	private String nick;
	@Column(name = "user_id")
	private long userID;
	@Column(name = "campaign_id")
	private long campaignID;
	@Column(name = "category_ids")
	private String categoryIDs;

	@Column(name = "num_iid")
	private long productID;
	@Column(name = "title")
	private String productName;

	private int defaultPrice;

	private int driveType;
	private Date maintainedDate;
	private String onlineStatus;

	private Date createTime;

	private int adjustCount;
	@Column(name = "`limit`")
	private int limit;

}
